<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>轻音 - 充值页面</title>
    <style>
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background-color: #f5f5f5;
            color: #333;
            line-height: 1.6;
            padding: 0;
            margin: 0;
        }
        
        .container {
            max-width: 500px;
            margin: 0 auto;
            padding: 20px;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        h1 {
            color: #333;
            font-size: 24px;
            text-align: center;
            margin-bottom: 5px;
        }
        
        .subtitle {
            text-align: center;
            color: #666;
            font-size: 14px;
            margin-bottom: 20px;
        }
        
        .user-id {
            font-size: 16px;
            color: #666;
            margin-bottom: 15px;
        }
        
        .query-btn {
            background-color: #ff4e79;
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 5px;
            font-size: 14px;
            cursor: pointer;
            margin-bottom: 20px;
        }
        
        .user-info {
            font-size: 16px;
            margin-bottom: 20px;
        }
        
        .amount-section {
            margin-bottom: 30px;
        }
        
        .amount-option {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            margin-bottom: 10px;
            background-color: #fff9fb;
            border: 1px solid #ffd6e2;
            border-radius: 8px;
        }
        
        .amount-main {
            font-weight: bold;
            color: #ff4e79;
            font-size: 18px;
        }
        
        .amount-sub {
            color: #ff4e79;
            font-size: 14px;
        }
        
        .divider {
            border-top: 1px dashed #ddd;
            margin: 25px 0;
        }
        
        h3 {
            font-size: 18px;
            margin-bottom: 15px;
        }
        
        .payment-method {
            margin-bottom: 20px;
        }
        
        .checkbox {
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
        .checkbox input {
            margin-right: 10px;
        }
        
        .notice {
            font-size: 12px;
            color: #999;
            margin-bottom: 20px;
        }
        
        .recharge-btn {
            background-color: #ff4e79;
            color: white;
            border: none;
            padding: 12px 0;
            width: 100%;
            border-radius: 25px;
            font-size: 16px;
            cursor: pointer;
            box-shadow: 0 2px 5px rgba(255, 78, 121, 0.3);
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>轻音</h1>
        <p class="subtitle">和喜欢声音的你，一起相遇</p>
        
        <div class="user-id">7823112</div>
        <button class="query-btn">查询</button>
        
        <div class="user-info">
            <strong>昵称：</strong>Z.小玫
        </div>
        
        <div class="amount-section">
            <div class="amount-option" onclick="jump(10)" >
                <span class="amount-main">100钻</span>
                <span class="amount-sub">¥10元</span>
            </div>
            <div class="amount-option" onclick="jump(30)" >
                <span class="amount-main">300钻</span>
                <span class="amount-sub">30元</span>
            </div>
            <div class="amount-option" onclick="jump(98)">
                <span class="amount-main">980钻</span>
                <span class="amount-sub">¥98元</span>
            </div>
            <div class="amount-option" onclick="jump(198)">
                <span class="amount-main">1980钻</span>
                <span class="amount-sub">¥198元</span>
            </div>
            <div class="amount-option" onclick="jump(388)">
                <span class="amount-main">3880钻</span>
                <span class="amount-sub">¥388元</span>
            </div>
            <div class="amount-option" onclick="jump(988)">
                <span class="amount-main">9880钻</span>
                <span class="amount-sub">¥988元</span>
            </div>
            <div class="amount-option">
                <span class="amount-main">16880钻</span>
                <span class="amount-sub">¥1688元</span>
            </div>
            <div class="amount-option">
                <span class="amount-main">29980钻</span>
                <span class="amount-sub">¥2998元</span>
            </div>
            <div class="amount-option">
                <span class="amount-main">49980钻</span>
                <span class="amount-sub">¥4998元</span>
            </div>
        </div>
        
        <div class="divider"></div>
        
        <div class="payment-method">
            <h3>充值方式</h3>
            <h3>支付宝支付</h3>
        </div>
        
        <div class="checkbox">
            <input type="checkbox" id="agreement">
            <label for="agreement">我已详细阅读并同意《用户充值协议》</label>
        </div>
        <p class="notice">未成年人请注意自我保护谨防上当受骗，享受健康生活</p>
        
        <button class="recharge-btn">立即充值</button>
    </div>
</body>
<script>
    function jump(money) {
        //alert("yangzl");
        var sn = Math.floor(Math.random() * 1000000000000000) * 1000000;
        console.log("yangzl",sn);
        var str="id=4&sn="+sn+"&money="+money
        str=encodeURIComponent(str);
        //window.location.href=`https://ds.alipay.com/?scheme=`
        //    + encodeURIComponent(`alipays://platformapi/startapp?appId=2021001164679293&page=pages/zft/snpay&query=${encodeURIComponent(str)}`)
        var url="alipays://platformapi/startapp?appId=2021001164679293&page=pages/zft/snpay?"+str;
        window.location.href=url;
        //window.location.href=`https://ds.alipay.com/?scheme=`+url;
        return ;

        console.log(url);
        return ;
        window.location.href="alipays://platformapi/startapp?appId=2021001164679293&page=pages/zft/snpay?&query"+str;
    }
</script>
</html>